package com.ruoyi.system.domain.vo;

/**
 * @author ruoyi
 * @date 2024/6/8 07:45
 */
public class BatchUnlockVo {
    private String vitaePhone;
    /** 0:成功 1:失败 */
    private Integer code;

    private String msg;

    public BatchUnlockVo() {
    }

    public BatchUnlockVo(String vitaePhone, Integer code, String msg) {
        this.vitaePhone = vitaePhone;
        this.code = code;
        this.msg = msg;
    }

    public static BatchUnlockVo error(String vitaePhone, String msg){
        return new BatchUnlockVo(vitaePhone, 1, msg);
    }

    public static BatchUnlockVo succes(String vitaePhone){
        return new BatchUnlockVo(vitaePhone, 0, "成功");
    }

    public String getVitaePhone() {
        return vitaePhone;
    }

    public void setVitaePhone(String vitaePhone) {
        this.vitaePhone = vitaePhone;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
